package com.mby.entity;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Map;


/**
 * Created by Noah on 2018/01/31.
 */
@Document(collection = "debugs")
public class Debug extends BaseModel{
    private String method;
    private String url;
    private Map params;
    private String error;
    private String message;
    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map getParams() {
        return params;
    }

    public void setParams(Map params) {
        this.params = params;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
